@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="schoolInfoForm">

            <input type="hidden" id="id" value="${seniorSchool.id}">

            <div class="row">
                <div class="col-sm-12">
                    <#input id="schoolCode" name="学校代号" underline="true" value="${seniorSchool.schoolCode}" readonly="${isNotEmpty(seniorSchool.id)?'readonly':''}"/>
                    <#input id="schoolName" name="学校名称" underline="true" value="${seniorSchool.schoolName}"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                @if(isNotEmpty(seniorSchool.id)){
                <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SchoolInfoDlg.editSubmit()"/>
                @}
                @else{
                <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SchoolInfoDlg.addSubmit()"/>
                @}
                <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                clickFun="SchoolInfoDlg.close()"/>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/examinee/school/schoolEdit.js"></script>
@}
